//
//  MyAccountViewCell.m
//  tuanGG
//
//  Created by 微他 on 15/9/23.
//  Copyright (c) 2015年 weita. All rights reserved.
//

#import "MyAccountViewCell.h"
#import "Header.h"
@implementation MyAccountViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, ScreenWidth-100, 30)];
//        _nameLabel.backgroundColor = [UIColor blueColor];
        _nameLabel.font = [UIFont systemFontOfSize:13];
        _nameLabel.textAlignment = NSTextAlignmentLeft;
        [self addSubview:_nameLabel];
        
        _priceLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 40, ScreenWidth-100, 30)];
//        _priceLabel.backgroundColor = [UIColor redColor];
        _priceLabel.textColor = [UIColor colorWithRed:0.992 green:0.420 blue:0.227 alpha:1.000];
        _priceLabel.font = [UIFont systemFontOfSize:15];
        _priceLabel.textAlignment = NSTextAlignmentLeft;
        [self addSubview:_priceLabel];
        
        _dateLabel = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth-90, 10, 80, 30)];
        _dateLabel.textAlignment = NSTextAlignmentRight;
        _dateLabel.textColor = [UIColor colorWithHexString:@"#989898"];
        _dateLabel.font = [UIFont systemFontOfSize:13];
//        _dateLabel.backgroundColor = [UIColor colorWithRed:0.400 green:1.000 blue:1.000 alpha:1.000];
        [self addSubview:_dateLabel];
        
        _stateLabel = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth-90, 40, 80, 30)];
        _stateLabel.font = [UIFont systemFontOfSize:15];
        _stateLabel.textColor = [UIColor colorWithHexString:@"383838"];
//        _stateLabel.backgroundColor = [UIColor colorWithRed:1.000 green:1.000 blue:0.400 alpha:1.000];
        _stateLabel.textAlignment = NSTextAlignmentRight;
        [self addSubview:_stateLabel];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
